package org.hongqi.common.senpec.file.fileInfo;

import org.hongqi.common.senpec.base.mybatisplus.IBaseService;
import org.hongqi.common.senpec.base.sevlet.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.Collection;

public interface FileInfoService extends IBaseService<FileInfo> {

    default FileInfo getFileInfoByKeyword(String keyword) {
        return null;
    }

    default FileInfo uploadOneFile(String keyword, MultipartFile file) {
        return null;
    }

    default FileInfo handleInsertFile(String keyword, MultipartFile file) {
        return null;
    }

    default FileInfo handleUpdateFile(String keyword, MultipartFile file) {
        return null;
    }

    default FileInfo selectByKeyword(String keyword) {
        return null;
    }

    default FileInfo appendOneFile(String keyword, MultipartFile file) {
        return null;
    }

    default Result<Collection<FileInfo>> myListByKeyword(String keyword) {
        return null;
    }
}
